package cn.iocoder.yudao.module.member.controller.admin.curriculumVitaeSendRecord.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 报名情况 Response VO")
@Data
@ToString(callSuper = true)
public class CurriculumVitaeSendRecordInviteRespVO {

    @ApiModelProperty(value = "简历投递表ID", required = true)
    private Long id;

    /**
     * 邀约记录ID
     */
    private Long inviteId;

    /**
     * 简历id
     */
    private Long resumeId;

    @ApiModelProperty(value = "学生id", required = true, example = "1")
    @NotNull(message = "学生id不能为空")
    private Long studentId;

    @ApiModelProperty(value = "学生姓名", required = true, example = "测试学生")
    @NotNull(message = "学生姓名不能为空")
    private String studentName;

    @ApiModelProperty(value = "企业id", required = true, example = "1")
    @NotNull(message = "企业id不能为空")
    private Long companyId;

    @ApiModelProperty(value = "企业名称", required = true, example = "香港中文大学")
    @NotNull(message = "企业名称不能为空")
    private String companyName;

    @ApiModelProperty(value = "职位id", required = true, example = "1")
    @NotNull(message = "职位id不能为空")
    private Long jobId;

    @ApiModelProperty(value = "岗位名称", required = true, example = "JAVA-开发")
    @NotNull(message = "岗位名称不能为空")
    private String jobName;

    @ApiModelProperty(value = "简历投递日期", example = "2022-05-01")
    @NotNull(message = "简历投递日期不能为空")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date postDate;

    /***
     * 被邀约数
     */
    private Integer countIntervewInvite;

    /***
     * 邀约状态
     */
    private String status;


    /***
     * 面试结果
     */
    private String inviteResult;

    private String evaluation;

    private String feedback;
}
